package com.zhentao.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "登录请求参数")
public class LoginVO {
    @ApiModelProperty(value = "用户名", required = true, example = "admin")
    private String username;
    
    @ApiModelProperty(value = "密码", required = true, example = "123456")
        private String password;

    @ApiModelProperty(value = "角色ID(1:管理员 2:普通用户)", required = true, example = "2", allowableValues = "1,2")
    private Long rid;
} 